/**
* Oxide
*
* Copyright (c) 2011 Dinosaur Kick Pty Ltd, All rights reserved.
*
* This source code is made available under the "Modified BSD" licensing arrangement.
* See license.txt for details.
*/
// ----------------------------------------------------------------------------
#include "expr.hpp"
// ----------------------------------------------------------------------------
#ifndef O2_AST_UNARY_OPER_INC
#define O2_AST_UNARY_OPER_INC
namespace o2 {
namespace ast {
// ----------------------------------------------------------------------------

O2_AST_CONCRETE_NODE_BEGIN(unary_oper, expr)

	basic_unary_oper(token_identity oper, const expr_ptr& operand, bool postfix)
		: oper(oper)
		, operand(operand)
		, postfix(postfix)
		{ }
	
	token_identity oper;
	expr_ptr operand;
	bool postfix;

O2_AST_CONCRETE_NODE_END(unary_oper)

// ----------------------------------------------------------------------------
} // namespace ast
} // namespace o2
#endif // O2_AST_UNARY_OPER_INC
// ----------------------------------------------------------------------------
